package com.qqtech.qquan.delivery.service;

import com.qqtech.core.frame.model.Result;
import com.qqtech.core.frame.service.BaseService;
import com.qqtech.qquan.delivery.model.DeliveryOrder;
import com.qqtech.qquan.delivery.model.DeliveryOrderVo;

public interface DeliveryOrderService extends BaseService<DeliveryOrder> {
	/**
	 * 根据订单号获取
	 * @param orderNo
	 * @return
	 */
	public DeliveryOrderVo getByOrderNo(java.lang.String orderNo);
	
	/**
	 * 下单
	 * @param deliveryOrderVo
	 * @return
	 */
	public Result handleSaveOrder(DeliveryOrderVo deliveryOrderVo);
	
	/**
	 * 入库操作，同时order更新为已发货
	 * @param id
	 * @return
	 */
	public Result handleInStorage(Integer id);
}